package com.pcbly.web.bean.calendar;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class CalendarEventBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8727707987579354016L;

	private String userId;

	private String title;

	private Date modifiedDate;

	private String description;

	private Date startDate;

	private Date endDate;

	private Integer durHour;

	private Integer durMinute;

	private String allDay;

	private String typeId; 

	private String repeating;

	private String recurrence;

	private String remindBy;

	private Integer firstReminder;

	private Integer secondReminder;

	private String messageContent;

	private String shared; 

	private String remindAtOnce;

	private String remindBySchedule;

	private String remindByMessage;

	private String remindBySms;

	private String doneFlag;
	
	

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	} 

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getDurHour() {
		return durHour;
	}

	public void setDurHour(Integer durHour) {
		this.durHour = durHour;
	}

	public Integer getDurMinute() {
		return durMinute;
	}

	public void setDurMinute(Integer durMinute) {
		this.durMinute = durMinute;
	} 

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	} 

	public String getRepeating() {
		return repeating;
	}

	public void setRepeating(String repeating) {
		this.repeating = repeating;
	}

	public String getRecurrence() {
		return recurrence;
	}

	public void setRecurrence(String recurrence) {
		this.recurrence = recurrence;
	}

	public String getRemindBy() {
		return remindBy;
	}

	public void setRemindBy(String remindBy) {
		this.remindBy = remindBy;
	}

	public Integer getFirstReminder() {
		return firstReminder;
	}

	public void setFirstReminder(Integer firstReminder) {
		this.firstReminder = firstReminder;
	}

	public Integer getSecondReminder() {
		return secondReminder;
	}

	public void setSecondReminder(Integer secondReminder) {
		this.secondReminder = secondReminder;
	}

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	} 

	public String getAllDay() {
		return allDay;
	}

	public void setAllDay(String allDay) {
		this.allDay = allDay;
	}

	public String getShared() {
		return shared;
	}

	public void setShared(String shared) {
		this.shared = shared;
	}

	public String getRemindAtOnce() {
		return remindAtOnce;
	}

	public void setRemindAtOnce(String remindAtOnce) {
		this.remindAtOnce = remindAtOnce;
	}

	public String getRemindBySchedule() {
		return remindBySchedule;
	}

	public void setRemindBySchedule(String remindBySchedule) {
		this.remindBySchedule = remindBySchedule;
	}

	public String getRemindByMessage() {
		return remindByMessage;
	}

	public void setRemindByMessage(String remindByMessage) {
		this.remindByMessage = remindByMessage;
	}

	public String getRemindBySms() {
		return remindBySms;
	}

	public void setRemindBySms(String remindBySms) {
		this.remindBySms = remindBySms;
	}

	public String getDoneFlag() {
		return doneFlag;
	}

	public void setDoneFlag(String doneFlag) {
		this.doneFlag = doneFlag;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
